From bfaed659f195da17b34662ce148ab067e5f5c9b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Piotr=20Dr=C4=85g?= Date: Sat, 28 Jan 2017 01:10:12 +0100 Subject: [PATCH] Fix translator comments They need to be exactly one line above a string to show up in .po files. --- gtk/gtkfilechooserwidget.c | 2 +- modules/printbackends/cups/gtkprintbackendcups.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 77727be3b4..51c1dcf18b 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -4771,12 +4771,12 @@ my_g_format_date_for_display (GtkFileChooserWidget *impl, 0, 0, 0); days_ago = g_date_time_difference (now_date, date) / G_TIME_SPAN_DAY; - /* Translators: see g_date_time_format() for details on the format */ if (days_ago < 1) { if (priv->show_time) format = ""; else if (clock_format == CLOCK_FORMAT_24) + /* Translators: see g_date_time_format() for details on the format */ format = _("%H:%M"); else format = _("%l:%M %p"); diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c index 2056434bea..9d23bc1011 100644 --- a/modules/printbackends/cups/gtkprintbackendcups.c +++ b/modules/printbackends/cups/gtkprintbackendcups.c @@ -5425,10 +5425,10 @@ cups_printer_get_options (GtkPrinter *printer, "topsecret", "unclassified" }; - /* Translators, these strings are names for various 'standard' cover - * pages that the printing system may support. - */ char *cover_display_default[] = { + /* Translators, these strings are names for various 'standard' cover + * pages that the printing system may support. + */ NC_("cover page", "None"), NC_("cover page", "Classified"), NC_("cover page", "Confidential"), @@ -5701,8 +5701,8 @@ cups_printer_get_options (GtkPrinter *printer, cupsFreeOptions (num_opts, opts); #ifdef HAVE_COLORD - /* TRANSLATORS: this this the ICC color profile to use for this job */ option = gtk_printer_option_new ("colord-profile", + /* TRANSLATORS: this this the ICC color profile to use for this job */ C_("printer option", "Printer Profile"), GTK_PRINTER_OPTION_TYPE_INFO); -- 2.30.2